<button onclick="testFn()">1</button>

<script>
  function testFn() {
    alert(11);
  }
</script>
